import withIconColor from '../withIconColor';
import { TIconProps } from '@/types';

const TicketIcon = (props: TIconProps) => {
   return (
      <svg
         viewBox="0 0 1265 1024"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         p-id="20705"
         width={props.size}
         height={props.size}
      >
         <path
            d="M1265.45608 509.558V360.37a63.015 63.015 0 0 0-63.015-63.015H296.59508a63.015 63.015 0 0 0-63.016 63.015v148.559a151.71 151.71 0 0 1 0 303.34v148.56a63.015 63.015 0 0 0 63.016 63.014h905.846a63.015 63.015 0 0 0 63.015-63.015V812.898a151.71 151.71 0 1 1 0-303.34zM902.64508 802.816H596.15408a37.888 37.888 0 1 1 0-75.855h306.491a38.046 38.046 0 0 1 37.888 37.888 37.652 37.652 0 0 1-37.888 37.967z m0-206.69H596.15408a37.888 37.888 0 0 1 0-75.855h306.491a38.046 38.046 0 0 1 37.888 37.888 37.652 37.652 0 0 1-37.888 37.967z"
            p-id="20706"
            fill={props.color}
         ></path>
         <path
            d="M195.45508 775.01c75.855 0 149.661-30.326 149.661-113.742 4.411-80.266-75.854-112.483-149.661-113.743V322.56a63.015 63.015 0 0 1 63.015-63.015h793.994L972.19808 41.51a63.015 63.015 0 0 0-80.896-37.257L41.22508 317.204a63.015 63.015 0 0 0-37.258 81.132l191.488 519.877V775.404z"
            p-id="20707"
            fill={props.color}
         ></path>
      </svg>
   );
};

export default withIconColor(TicketIcon);
